//------------------------------------------------------------------------------
// Classification: COMPANY UNCLASSIFIED
//
// Copyright (c) Terma A/S
// All rights reserved
//------------------------------------------------------------------------------

package dk.snaveponyklub.util;

public class ID {
    
    private static int aId = 0;
    private static final Object aObjectMutex = new Object();
    
    public static int getNextID() {
        int ret = -1;
        synchronized (aObjectMutex) {
            ret = aId++;            
        }
        return ret;
    }

}
